package com.stars.entity.mygenerate;
import javax.validation.constraints.NotBlank;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Table;
import io.swagger.annotations.ApiModelProperty;
import com.stars.common.base.entity.BaseEntity;
/**
 * @Title: 我的代码配制实体
 * @author 悦动星辰
 * @date 2019-10-30
 * @version V1.0
 *
 */
@Data
@Table(name = "CG_CONFIG")
@EqualsAndHashCode(callSuper = false)
public class CgConfigEntity extends BaseEntity{

	/**配制名称*/
	@NotBlank(message="配制名称不能为空!")
	@Column(name = "CONFIG_NAME")
	@ApiModelProperty(value ="配制名称",name = "configName")
	private String configName;
	/**作者*/
	@NotBlank(message="作者不能为空!")
	@Column(name = "GEN_NAME")
	@ApiModelProperty(value ="作者",name = "genName")
	private String genName;
	/**后台路径*/
	@NotBlank(message="后台路径不能为空!")
	@Column(name = "CODE_PATH")
	@ApiModelProperty(value ="后台路径",name = "codePath")
	private String codePath;
	/**前端路径*/
	@Column(name = "JS_PATH")
	@ApiModelProperty(value ="前端路径",name = "jsPath")
	private String jsPath;
	/**模板组id*/
	@NotBlank(message="模板组id不能为空!")
	@Column(name = "TEMP_ID")
	@ApiModelProperty(value ="模板组id",name = "tempId")
	private String tempId;
	/**模板组*/
	@Column(name = "TEMP_NAME")
	@ApiModelProperty(value ="模板组",name = "tempName")
	private String tempName;
	/**模板组*/
	@Column(name = "GEN_DEFAULT")
	@ApiModelProperty(value ="模板组",name = "tempName")
	private Integer genDefault;
}

